const app = {
  state: {
    sidebar: {
      open: true,
    },
    pageLoading: false,
  },
  mutations: {
    COLLAPSE_HANDLER: (state) => {
      state.sidebar.open = !state.sidebar.open;
    },
    LOADING_HANDLER: (state, payload) => {
      state.pageLoading = payload;
    },
  },
  actions: {},
};

export default app;
